﻿using AutoMapper;
using Paas.Pioneer.WeChat.Application.Contracts.WeChatApps.Dtos;
using Paas.Pioneer.WeChat.Application.Contracts.WeChatAppUsers.Dtos;
using Paas.Pioneer.WeChat.Domain.WeChatApps;
using Paas.Pioneer.WeChat.Domain.WeChatAppUsers;

namespace Paas.Pioneer.WeChat.Application.WeChatApps
{
    public class _MapConfig : Profile
    {
        public _MapConfig()
        {
            CreateMap<WeChatApp, WeChatAppDto>();
            CreateMap<CreateUpdateWeChatAppDto, WeChatApp>(MemberList.Source);
            CreateMap<WeChatAppUser, WeChatAppUserDto>();
        }
    }
}
